package org.ns.summer;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.ns.summer.beans.FactoryBean;
import org.ns.summer.beans.anns.Component;

public interface TestMapper  {

    @Select("select testName from test where testId = #{testId}")
    String selectById(@Param("testId") long testId);

    @Insert("insert into test (testName) values (#{testName})")
    Integer insert(@Param("testName") String testName);

}
